package com.bw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bw.entity.SysRole;
import com.bw.entity.UserMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {
    void deleteRole(@Param("ids") String ids);

    List<UserMenu> getMenuByRole(Long roleId);
}